import request from '@/utils/request'

// 获取海报列表
export function materialPlaceList(query) {
  return request({
    url: 'com.mmk.reservation.api.AdminMaterialDistributionProvider/1.0.0/listMaterialDistributions.html',
    method: 'post',
    data: query
  })
}
// 获取海报列表(主页)
export function listMaterialDistributionsByPage(query) {
    return request({
      url: 'com.mmk.reservation.api.AdminMaterialDistributionProvider/1.0.0/listMaterialDistributionsByPage.html',
      method: 'post',
      data: query
    })
  }
// 删除海报列表
export function materialPlaceListDelete(query) {
  return request({
    url: 'com.mmk.reservation.api.AdminMaterialDistributionProvider/1.0.0/deleteMaterialDistributionById.html',
    method: 'post',
    data: query
  })
}
// 添加海报
export function materialPlaceListAdd(query) {
  return request({
    url: 'com.mmk.reservation.api.AdminMaterialDistributionProvider/1.0.0/saveMaterialDistribution.html',
    method: 'post',
    data: query
  })
}
// 海报详情
export function materialPlaceListDetails(query) {
  return request({
    url: 'com.mmk.reservation.api.AdminMaterialDistributionProvider/1.0.0/getMaterialDistributionById.html',
    method: 'post',
    data: query
  })
}
// 编辑海报
export function materialPlaceListEdit(query) {
  return request({
    url: 'com.mmk.reservation.api.AdminMaterialDistributionProvider/1.0.0/updateMaterialDistribution.html',
    method: 'post',
    data: query
  })
}
// 类型下拉列表
export function materialtypeList(query) {
  return request({
    url: 'com.mmk.reservation.api.AdminMaterialTypeProvider/1.0.0/listMaterialTypeSimples.html',
    method: 'post',
    data: query
  })
}
// 商品信息下拉框列表
export function ShopGoodsList(query) {
  return request({
    url: 'com.mmk.reservation.api.AdminShopGoodsProvider/1.0.0/select.html',
    method: 'post',
    data: query
  })
}
// 项目信息下拉框列表
export function BeautyProjectList(query) {
  return request({
    url: 'com.mmk.reservation.api.AdminBeautyProjectProvider/1.0.0/select.html',
    method: 'post',
    data: query
  })
}
